package com.aiti.lulian.service;

import com.aiti.base.core.base.service.BaseService;
import com.aiti.lulian.entity.SysData;
import com.aiti.lulian.entity.tree.TreeSelect;
import com.aiti.lulian.vo.SysDataVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author ZhouS
 * @CreateDate 2022-07-09
 * @Description:
 */
public interface ISysDataService extends BaseService<SysData> {

    List<SysData> findListPage(Page page , @Param("sysData")SysData sysData);

    SysData byId(String baseId);

    List<SysData> getSorts();

    List<SysData> likeDictName(String baseName);

    List<SysDataVo> getScondSort();

    List<String> getBaseNames(List<String> moduleIds);

    List<TreeSelect> buildMonitorAreaTreeSelect(List<SysData> list);
}
